package IO.g4.Decorator;

abstract class CoffeeDecorator implements Coffee{

	private Coffee decoratedCoffee;
	protected String ingSep = ", ";
	
	public CoffeeDecorator(Coffee decoratedCoffee) {
		this.decoratedCoffee = decoratedCoffee;
	}

	@Override
	public double getCost() {
		return decoratedCoffee.getCost();
	}

	@Override
	public String getIngredients() {
		return decoratedCoffee.getIngredients();
	}
	
}
